home *** CD-ROM | disk | FTP | other *** search
/ GFX Sensations 1 / Graphic Sensations - Volume 1.iso / tools / amiga / 3d_tools / irit40s.lha / Irit / makeflag.sas < prev    next >
Encoding:
Text File  |  1993-12-30  |  2.4 KB  |  86 lines

  1. #
  2. # The XXX_DIR variables below MUST have ABSOLUTE path. Since this file
  3. # is sourced from several directories relative path specification will
  4. # be simple wrong.
  5. #
  6.  
  7. SRC_DIR = Boot:Home/T/Irit
  8. #
  9. # All libraries created will be installed into the LIB_DIR directory.
  10. #
  11. LIB_DIR = $(SRC_DIR)/lib
  12.  
  13. #
  14. # All includes files associated with the installed libraries will be
  15. # installed into the INC_DIR directory.
  16. #
  17. INC_DIR = $(SRC_DIR)/inc
  18.  
  19. #
  20. # All binaries created will be installed into the BIN_DIR directory.
  21. #
  22. BIN_DIR = $(SRC_DIR)/bin
  23.  
  24. #
  25. # Uncomment the correct set of variables to be used or modify it for
  26. # your system.
  27. #
  28. # -D flags:
  29. #
  30. # -D__GL__ - if your system supports gl graphics library (SGI 4d & IBM R6000).
  31. #
  32. # -D__X11__ - if your system supports X11. Only one of __GL__ or __X11__ should
  33. #    be used.
  34. #
  35. #  Emulation to the following function are available by defining the
  36. #  following. Look at misc_lib/xgeneral.c/h for implementation.
  37. # -DGETCWD - if getcwd is not defined in this system.
  38. # -DSTRSTR - if strstr is not defined in this system.
  39. # -DSTRDUP - if strdup is not defined in this system.
  40. # -DSTRICMP - if stricmp and strincmp are not defined in this system.
  41. #
  42. # -DTIMES - if times is defined in your system, otherwise uses time.
  43. #
  44. # -DRAND - if the (s)rand random number generator exists.
  45. # -DRAND48 - ?rand48 random number generators exists.
  46. #    If non of RAND or RAND48 are defined, (s)random is used.
  47. #
  48. # -DNO_VOID_PTR - if your C compiler does not support (void *).
  49. #
  50. # -DUSE_VARARGS - if your system does not have stdarg.h and have the old
  51. #    varargs.h.
  52. #
  53. # -DNO_CONCAT_STR - if 'char *p = "This is" "one string";' is illegal.
  54. #
  55. # -DGRAPDRVS - any combination of of 'amidrvs', 'nuldrvs'.
  56. #
  57. # Other, possibly useful defines (for c code development):
  58. #
  59. # -DDEBUG - for some debugging functions in the code (that can be invoked
  60. #        from a debugger).
  61. #
  62.  
  63. #
  64. # Flags for Amiga using SAS/C
  65. #
  66. # Use DEFINE=M68881 if you have a 68881/68882/68040
  67. # Use DEFINE=MIEEE if you want to use the IEEE math library
  68. # Use DEFINE=MFFP if you want to use the FFP math library
  69. #
  70. CC = sc
  71. DFLAGS = DEFINE=M68881 DEFINE=RAND48
  72. CFLAGS = $(DFLAGS) CPU=68040 MATH=68882 NOSTACKCHECK STRMERGE IGNORE=79
  73. MORELIBS = 
  74. GRAPDRVS =nuldrvs amidrvs
  75.  
  76. #
  77. # Default rule for compilation.
  78. #
  79. .c.o:
  80.     $(CC) $(CFLAGS) IDIR= IDIR=$(INC_DIR) IDIR=$(SRC_DIR)/amigalib $<
  81.  
  82. #
  83. # All libraries.
  84. LIBS = $(LIB_DIR)/geom.lib $(LIB_DIR)/prsr.lib $(LIB_DIR)/cagd.lib\
  85.        $(LIB_DIR)/misc.lib #$(LIB_DIR)/gif.lib
  86.